device_techsupport
Configuration for Techsupport for device resource.
Read/write properties
last_updated_time<Double>
Last Updated Time.
id<String>
Id is system generated key for techSupport bundle files.
ip_address<String>
Device IP Address.
Minimum length = 1
Maximum length = 64
techsupport_filesize<Double>
Techsupport file size.
is_upload_file<Boolean>
To upload the collector archive.
techsupport_password<String>
Techsupport Password.
encrypted<Boolean>
Indicates if the techsupport file is encrypted..
citrix_password<String>
Citrix password.
ns_auth_token<String>
Authorisation token required for uploading the file from NS.
ts_scope<String>
Scope can be cluster or node or partition.
ts_description<String>
Description for the file.
ts_time<String>
Time from which techSupport file will be generated.
citrix_username<String>
Citrix username.
ts_partition_name<String>
Name of the partition.
file_name<String>
file name.
case_or_service_request_number<String>
case or serrvice request number.
proxy_server<String>
Proxy server ip.
Read only properties
device_name<String>
Device Hostname.
techsupport_filename<String>
Name of the techsupport file.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/device_techsupport
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/device_techsupport?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of device_techsupport resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/device_techsupport?pagesize=#no&pageno=#no
Use this query-parameter to get the device_techsupport resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/device_techsupport?count=yes
Use this query-parameter to get the count of device_techsupport resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "device_techsupport":[{
"last_updated_time":<Double_value>,
"id":<String_value>,
"image_filename":<String_value>,
"device_name":<String_value>,
"ip_address":<String_value>,
"tenant_id":<String_value>,
"techsupport_filesize":<Double_value>,
"device_family":<String_value>,
"techsupport_filename":<String_value>,
"image_filesize":<Double_value>,
"is_upload_file":<Boolean_value>,
"techsupport_password":<String_value>,
"encrypted":<Boolean_value>,
"citrix_password":<String_value>,
"ns_auth_token":<String_value>,
"ts_scope":<String_value>,
"ts_description":<String_value>,
"ts_time":<String_value>,
"citrix_username":<String_value>,
"ts_partition_name":<String_value>,
"file_name":<String_value>,
"act_id":<String_value>,
"case_or_service_request_number":<String_value>,
"proxy_server":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/device_techsupport/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }
URL:https://<MGMT-IP>/nitro/v2/config/device_techsupport?action=devicetechsupport&onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"device_techsupport": {
"citrix_username":<String_value>,
"is_upload_file":<Boolean_value>,
"ts_description":<String_value>,
"ns_auth_token":<String_value>,
"case_or_service_request_number":<String_value>,
"encrypted":<Boolean_value>,
"ts_time":<String_value>,
"ip_address":<String_value>,
"file_name":<String_value>,
"last_updated_time":<Double_value>,
"proxy_server":<String_value>,
"techsupport_filesize":<Double_value>,
"ts_scope":<String_value>,
"id":<String_value>,
"ts_partition_name":<String_value>,
"techsupport_password":<String_value>,
"citrix_password":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "device_techsupport":[{
"last_updated_time":<Double_value>,
"id":<String_value>,
"image_filename":<String_value>,
"device_name":<String_value>,
"ip_address":<String_value>,
"tenant_id":<String_value>,
"techsupport_filesize":<Double_value>,
"device_family":<String_value>,
"techsupport_filename":<String_value>,
"image_filesize":<Double_value>,
"is_upload_file":<Boolean_value>,
"techsupport_password":<String_value>,
"encrypted":<Boolean_value>,
"citrix_password":<String_value>,
"ns_auth_token":<String_value>,
"ts_scope":<String_value>,
"ts_description":<String_value>,
"ts_time":<String_value>,
"citrix_username":<String_value>,
"ts_partition_name":<String_value>,
"file_name":<String_value>,
"act_id":<String_value>,
"case_or_service_request_number":<String_value>,
"proxy_server":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/upload/device_techsupport
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:Multi-part form data with File Stream
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done }
URL:https://<MGMT-IP>/nitro/v2/download/device_techsupport/id_value<String>
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Headers:
Content-Type:application/json
Response Payload:Binary Stream